/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
 */

package com.huawei.saashousekeeper.config.adapter;

/**
 * 默认schema转换逻辑，永不未自定义情况下使用此默认转换逻辑
 *
 * @author lWX1156935
 * @since 2022/4/22
 */
public class DefaultSchemaAdapter implements SchemaAdapter {
    private static final String SCHEMA_PREFIX = "tenant_";

    @Override
    public String getSchema(String key) {
        return SCHEMA_PREFIX + key;
    }
}
